OpenChannelMessageInputComponent

open class OpenChannelMessageInputComponent

This class creates and performs a view corresponding the message input area for OpenChannel in Sendbird UIKit. since 3.0.0

Constructors

Link copied to clipboard
open fun OpenChannelMessageInputComponent()
Constructor since 3.0.

Types

Link copied to clipboard
open class Params
A collection of parameters, which can be applied to a default View.

Functions

Link copied to clipboard
open fun getEditTextView(): EditText
Returns the edit text view used in the input component bt default.
Link copied to clipboard
open fun getRootView(): View
Returns the view created by onCreateView.
Link copied to clipboard
open fun notifyChannelChanged(@NonNull channel: OpenChannel)
Notifies this component that the channel data has changed.
Link copied to clipboard
open fun notifyDataChanged(@Nullable message: BaseMessage, @NonNull channel: OpenChannel)
open fun notifyDataChanged(    @Nullable message: BaseMessage,     @NonNull channel: OpenChannel,     @NonNull defaultText: String)
Notifies this component that the data needed to draw the input has changed.
Link copied to clipboard
open fun notifyMyMutedStateChanged(@NonNull channel: OpenChannel, isMuted: Boolean)
Notifies this component that the muted state of the current user has changed.
Link copied to clipboard
open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View
Called after the component was created to make views.
Link copied to clipboard
protected open fun onEditModeCancelButtonClicked(@NonNull view: View)
Called when the cancel button is clicked, when the input is the edited mode.
Link copied to clipboard
protected open fun onEditModeSaveButtonClicked(@NonNull view: View)
Called when the save button is clicked, when the input is the edited mode.
Link copied to clipboard
protected open fun onEditModeTextChanged(    @NonNull s: CharSequence,     start: Int,     before: Int,     count: Int)
Called when the input text is changed, when the input is the edited mode.
Link copied to clipboard
protected open fun onInputLeftButtonClicked(@NonNull view: View)
Called when the left button of the input is clicked.
Link copied to clipboard
protected open fun onInputModeChanged(@NonNull before: MessageInputView.Mode, @NonNull current: MessageInputView.Mode)
Called when the input mode is changed.
Link copied to clipboard
protected open fun onInputRightButtonClicked(@NonNull view: View)
Called when the right button of the input is clicked.
Link copied to clipboard
protected open fun onInputTextChanged(    @NonNull s: CharSequence,     start: Int,     before: Int,     count: Int)
Called when the input text is changed.
Link copied to clipboard
open fun requestInputMode(@NonNull mode: MessageInputView.Mode)
Requests to set the input mode.
Link copied to clipboard
open fun setOnEditModeCancelButtonClickListener(@Nullable editModeCancelButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the cancel button is clicked, when the input is the edited mode.
Link copied to clipboard
open fun setOnEditModeSaveButtonClickListener(@Nullable editModeSaveButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the save button is clicked, when the input is the edited mode.
Link copied to clipboard
open fun setOnEditModeTextChangedListener(@Nullable editModeTextChangedListener: OnInputTextChangedListener)
Register a callback to be invoked when the input text is changed, when the input is the edited mode.
Link copied to clipboard
open fun setOnInputLeftButtonClickListener(@Nullable inputLeftButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the left button of the input is clicked.
Link copied to clipboard
open fun setOnInputModeChangedListener(@Nullable inputModeChangedListener: OnInputModeChangedListener)
Register a callback to be invoked when the input mode is changed.
Link copied to clipboard
open fun setOnInputRightButtonClickListener(@Nullable inputRightButtonClickListener: View.OnClickListener)
Register a callback to be invoked when the right button of the input is clicked.
Link copied to clipboard
open fun setOnInputTextChangedListener(@Nullable inputTextChangedListener: OnInputTextChangedListener)
Register a callback to be invoked when the input text is changed.

Properties

Link copied to clipboard